SootopolisCity_Mart_MapScripts:: @ 8226794
	.byte 0

SootopolisCity_Mart_EventScript_Clerk:: @ 8226795
	lock
	faceplayer
	message gText_HowMayIServeYou
	waitmessage
	pokemart SootopolisCity_Mart_Pokemart
	msgbox gText_PleaseComeAgain, MSGBOX_DEFAULT
	release
	end

SootopolisCity_Mart_Pokemart: @ 82267AC
	.2byte ITEM_ULTRA_BALL
	.2byte ITEM_HYPER_POTION
	.2byte ITEM_MAX_POTION
	.2byte ITEM_FULL_HEAL
	.2byte ITEM_REVIVE
	.2byte ITEM_MAX_REPEL
	.2byte ITEM_X_ATTACK
	.2byte ITEM_X_DEFENSE
	.2byte ITEM_SHADOW_MAIL
	.2byte ITEM_BRIGHT_POWDER,ITEM_WHITE_HERB,ITEM_MACHO_BRACE,ITEM_EXP_SHARE,ITEM_QUICK_CLAW,ITEM_SOOTHE_BELL
    .2byte ITEM_MENTAL_HERB,ITEM_CHOICE_BAND,ITEM_KINGS_ROCK,ITEM_SILVER_POWDER,ITEM_AMULET_COIN,ITEM_CLEANSE_TAG,ITEM_SMOKE_BALL
    .2byte ITEM_EVERSTONE,ITEM_FOCUS_BAND,ITEM_LUCKY_EGG,ITEM_SCOPE_LENS,ITEM_METAL_COAT,ITEM_LEFTOVERS,ITEM_DRAGON_SCALE
    .2byte ITEM_OVAL_STONE,ITEM_PROTECTOR,ITEM_ELECTIRIZER,ITEM_MAGMARIZER,ITEM_DUBIOUS_DISC,ITEM_REAPER_CLOTH,ITEM_RAZOR_CLAW
    .2byte ITEM_RAZOR_FANG,ITEM_PRISM_SCALE,ITEM_WHIPPED_DREAM,ITEM_SACHET,ITEM_SOFT_SAND,ITEM_HARD_STONE,ITEM_MIRACLE_SEED
    .2byte ITEM_BLACK_GLASSES,ITEM_BLACK_BELT,ITEM_MAGNET,ITEM_MYSTIC_WATER,ITEM_SHARP_BEAK,ITEM_POISON_BARB,ITEM_NEVER_MELT_ICE
    .2byte ITEM_SPELL_TAG,ITEM_TWISTED_SPOON,ITEM_CHARCOAL,ITEM_DRAGON_FANG,ITEM_SILK_SCARF,ITEM_UP_GRADE,ITEM_SHELL_BELL
    .2byte ITEM_POWER_BRACER,ITEM_POWER_BELT,ITEM_POWER_LENS,ITEM_POWER_BAND,ITEM_POWER_ANKLET,ITEM_POWER_WEIGHT,ITEM_POWER_HERB
    .2byte ITEM_CHOICE_SCARF,ITEM_CHOICE_SPECS,ITEM_FOCUS_SASH,ITEM_WIDE_LENS,ITEM_ZOOM_LENS,ITEM_METRONOME,ITEM_MUSCLE_BAND
    .2byte ITEM_WISE_GLASSES,ITEM_EXPERT_BELT,ITEM_LIGHT_CLAY,ITEM_ICY_ROCK,ITEM_SMOOTH_ROCK,ITEM_HEAT_ROCK,ITEM_DAMP_ROCK
    .2byte ITEM_DESTINY_KNOT,ITEM_GRIP_CLAW,ITEM_LIFE_ORB,ITEM_TOXIC_ORB,ITEM_FLAME_ORB,ITEM_STICKY_BARB,ITEM_BLACK_SLUDGE
    .2byte ITEM_IRON_BALL,ITEM_LAGGING_TAIL,ITEM_SHED_SHELL,ITEM_BIG_ROOT,ITEM_EVIOLITE,ITEM_FLOAT_STONE,ITEM_ROCKY_HELMET
    .2byte ITEM_AIR_BALLOON,ITEM_RED_CARD,ITEM_RING_TARGET,ITEM_BINDING_BAND,ITEM_EJECT_BUTTON,ITEM_ABSORB_BULB,ITEM_CELL_BATTERY
    .2byte ITEM_LUMINOUS_MOSS,ITEM_SNOWBALL,ITEM_WEAKNESS_POLICY,ITEM_ASSAULT_VEST,ITEM_SAFETY_GOGGLES,ITEM_ADRENALINE_ORB,ITEM_TERRAIN_EXTENDER
    .2byte ITEM_PROTECTIVE_PADS,ITEM_ELECTRIC_SEED,ITEM_PSYCHIC_SEED,ITEM_MISTY_SEED,ITEM_GRASSY_SEED
	.2byte ITEM_NONE
	release
	end

SootopolisCity_Mart_EventScript_FatMan:: @ 82267C2
	lock
	faceplayer
	compare VAR_SKY_PILLAR_STATE, 2
	goto_if_ge SootopolisCity_Mart_EventScript_FatManNoLegendaries
	goto_if_unset FLAG_KYOGRE_ESCAPED_SEAFLOOR_CAVERN, SootopolisCity_Mart_EventScript_FatManNoLegendaries
	msgbox SootopolisCity_Mart_Text_TooScaryOutside, MSGBOX_DEFAULT
	release
	end

SootopolisCity_Mart_EventScript_FatManNoLegendaries:: @ 82267E2
	msgbox SootopolisCity_Mart_Text_PPUpIsGreat, MSGBOX_DEFAULT
	release
	end

SootopolisCity_Mart_EventScript_Gentleman:: @ 82267EC
	lock
	faceplayer
	compare VAR_SKY_PILLAR_STATE, 2
	goto_if_ge SootopolisCity_Mart_EventScript_GentlemanNoLegendaries
	goto_if_unset FLAG_KYOGRE_ESCAPED_SEAFLOOR_CAVERN, SootopolisCity_Mart_EventScript_GentlemanNoLegendaries
	msgbox SootopolisCity_Mart_Text_DidSomethingAwaken, MSGBOX_DEFAULT
	release
	end

SootopolisCity_Mart_EventScript_GentlemanNoLegendaries:: @ 822680C
	msgbox SootopolisCity_Mart_Text_FullRestoreItemOfDreams, MSGBOX_DEFAULT
	release
	end

SootopolisCity_Mart_Text_PPUpIsGreat: @ 8226816
	.string "PP UP is great!\p"
	.string "It raises the POWER POINTS, the PP,\n"
	.string "of a POKéMON move.$"

SootopolisCity_Mart_Text_TooScaryOutside: @ 822685D
	.string "What…\n"
	.string "What is happening?\p"
	.string "I really want to know, but it's too\n"
	.string "scary to go outside.$"

SootopolisCity_Mart_Text_FullRestoreItemOfDreams: @ 82268AF
	.string "Do you know FULL RESTORE?\p"
	.string "Full restoration of HP!\n"
	.string "Eradication of all status problems!\p"
	.string "It's truly an item of your dreams!$"

SootopolisCity_Mart_Text_DidSomethingAwaken: @ 8226928
	.string "This weather…\n"
	.string "Did something awaken?$"

